import java.util.Scanner;

public class Array{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int[][] arr = new int[2][2];



        for (int i = 0; i < arr.length; i++) {
            for (int j = 0; j < arr[0].length; j++) {
                System.out.print("第" + (i + 1) + "行第" + (j + 1) + "列: ");
                arr[i][j] = sc.nextInt();
            }
        }

        System.out.println("\n你输入的二维数组是：");
        for (int i = 0; i < arr.length; i++) {
            for (int j = 0; j < arr[0].length; j++) {
                System.out.print(arr[i][j] + "\t");
            }
            System.out.println(); // 换行
        }
    }
}
